<?php
include("../inc/global.inc");
include("../inc/fun.php");
include("../steps.php");
$p_rs=@mysql_query("select * from job_per where id='$_COOKIE[job_user_id]'");
$p_row=@mysql_fetch_array($p_rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的简历-三帝贸易网</title>
<link href="../css/body.css" rel="stylesheet" type="text/css"/>
<link href="../css/link.css" rel="stylesheet" type="text/css"/>
<link href="css/head.css" rel="stylesheet" type="text/css"/>
<link href="css/main.css" rel="stylesheet" type="text/css"/>
<link href="../css/foot.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<?php include("../inc/top.php");?>
<div class="menuBox1">
<a href="/member/">管理中心</a>
<a href="/member/show.php" class="hover">我的简历</a>
<a href="/member/search_manage.php">我的搜索器</a>
<a href="/member/favorites.php">收藏夹</a>
<a href="/member/cqjob.php">发件夹</a>
<a href="/member/inbox.php">收件夹</a>
<div class="onl"></div>
</div>
<div id="mian">
<?php include("right.php");?>
<div id="box">
  <div class="JobBox sideyellow backyellow">
  <div class="mian_Co">
    <div class="title size14 topside6"><strong>基本个人信息</strong></div>
	<table width="680" border="0" align="center" cellpadding="4" cellspacing="2">
      <tbody>
        <tr>
          <td width="94" height="30">姓&nbsp;&nbsp;&nbsp; 名：</td>
          <td width="166"><?=$p_row[p_name]?></td>
          <td width="115">身&nbsp;&nbsp;&nbsp; 高：</td>
          <td width="139"><?php if($p_row[p_height]){echo $p_row[p_height];}?></td>
          <td width="114" rowspan="5" align="center"><?php if($p_row[p_image]){?><img src="/upfile/<?=$p_row[p_image]?>" width="100" height="100" /><?php }else{?><img src="http://job.sandib2b.cn/images/photo.gif" width="100" height="100" /><?php }?></td>
        </tr>
        <tr>
          <td width="94" height="30">性&nbsp;&nbsp;&nbsp; 别：</td>
          <td><?=job_sex($p_row[p_sex])?></td>
          <td>民&nbsp;&nbsp;&nbsp; 族：</td>
          <td><?=p_nation($p_row[p_nation])?></td>
          </tr>
        <tr>
          <td width="94" height="30">婚姻状况：</td>
          <td><?=p_married($p_row[p_married])?></td>
          <td>户口所在地： </td>
          <td><?=$p_row[p_hukou_pro2]?>
            <?=$p_row[p_hukou_city2]?></td>
          </tr>
        <tr>
          <td width="94" height="30">出生日期：</td>
          <td><?=$p_row[p_birth_y]?>-<?=$p_row[p_birth_m]?>-<?=$p_row[p_birth_d]?></td>
          <td>住&nbsp;&nbsp;&nbsp; 址：</td>
          <td><?=$p_row[p_address]?></td>
          </tr>
        <tr>
          <td width="94" height="30">现居住地：</td>
          <td><?=$p_row[p_pro2]?><?=$p_row[p_city2]?></td>
          <td>固定电话：</td>
          <td><?php if($p_row[p_tel]!="-"){echo $p_row[p_tel];}?></td>
          </tr>
        <tr>
          <td width="94" height="30">邮&nbsp;&nbsp;&nbsp; 编：</td>
          <td><?=$p_row[p_post]?></td>
          <td>电子邮件：</td>
          <td colspan="2"><?=$p_row[p_email]?></td>
        </tr>
        <tr>
          <td width="94" height="30">移动电话：</td>
          <td><?=$p_row[p_phone]?></td>
          <td>目前待遇：</td>
          <td colspan="2"><?php if($p_row[p_salary]>1){?><?=job_salary($p_row[p_salary])?><?php }else{echo "保密";}?></td>
        </tr>
        <tr>
          <td width="94" height="30">工作经验：</td>
          <td><?php if($p_row[p_exp]>1){?><?=job_exp($p_row[p_exp])?><?php }?></td>
          <td>学历：</td>
          <td colspan="2"><?php if($p_row[p_edu]>1){?><?=job_edu($p_row[p_edu])?><?php }?></td>
        </tr>
      </tbody>
    </table>
    <div class="title size14 topside6"><strong>自我评价</strong></div>
    <table width="680" border="0" align="center" cellpadding="4" cellspacing="2">
      <tbody>
        <tr>
          <td width="100" height="29">自我评价：</td>
          <td width="580" style="padding:5px; line-height:22px;"><?=$p_row[p_comment]?></td>
        </tr>
      </tbody>
    </table>  
    <div class="title size14 topside6"><strong>求职意向</strong></div>
    <table width="680" border="0" align="center" cellpadding="5" cellspacing="2">
      <tbody>
        <tr>
          <td width="100">期望工作性质：</td>
          <td width="580"><?=job_nature($p_row[p_nature])?></td>
        </tr>
        <tr>
          <td>期望工作地点：</td>
          <td><?=$p_row[p_qw_city]?> <?=$p_row[p_qw_dq]?></td>
        </tr>
        <tr>
          <td>期望工作行业：</td>
          <td style="padding:5px; line-height:22px;"><?php
		  $p_hy=split("@",$p_row[p_hy]);
		  $sqls=" and (";
		  for($i=0;$i<=count($p_hy);$i++){
		      if($p_hy[$i]){
		       $sqls=$sqls." id='$p_hy[$i]'";
			     if($p_hy[$i+1]){
			        $sqls=$sqls." or ";
					}
				}
		  }
		  $sqls=$sqls." )";
		  $rs=@mysql_query("select * from job_hy where job_hy_id=0 ".$sqls." order by id asc");
		  while($row=@mysql_fetch_array($rs)){
		  ?><?=$row[job_hy_name]?>，<?php }?></td>
        </tr>
        <tr>
          <td>期望工作职位：</td>
          <td style="padding:5px; line-height:22px;"><?php
		  $p_class=split("@",$p_row[p_class]);
		  $sqls=" and (";
		  for($i=0;$i<=count($p_class);$i++){
		      if($p_class[$i]){
		       $sqls=$sqls." id='$p_class[$i]'";
			     if($p_class[$i+1]){
			        $sqls=$sqls." or ";
					}
				}
		  }
		  $sqls=$sqls." )";
		  $rs=@mysql_query("select * from job_class where j_c_id=0 ".$sqls." order by id asc");
		  while($row=@mysql_fetch_array($rs)){
		  ?><?=$row[j_c_name]?>，<?php }?></td>
        </tr>
        <tr>
          <td>期 望 月 薪：</td>
          <td><?=job_salary($p_row[p_expected_salary])?></td>
        </tr>
        <tr>
          <td>目前工作状况：</td>
          <td><?=p_status($p_row[p_status])?></td>
        </tr>
        <tr>
          <td>简历是否公开：</td>
          <td><?=p_isopen($p_row[p_isopen])?></td>
        </tr>
      </tbody>
    </table>
    <div class="title size14 topside6"><strong>工作经历</strong></div>
    <table width="680" border="0" align="center" cellpadding="4" cellspacing="2">
      <tbody>
        <tr>
          <td colspan="4"><?php if($p_row[job_work]){echo unhtml($p_row[job_work]);}else{echo "无";}?></td>
          </tr>
      </tbody>
    </table>
    <div class="title size14 topside6"><strong>教育经历</strong></div>
    <table width="680" border="0" align="center" cellpadding="4" cellspacing="2">
      <tbody>
        <tr>
          <td colspan="4"><?php if($p_row[p_educate]){echo unhtml($p_row[p_educate]);}else{echo "无";}?></td>
        </tr>
      </tbody>
    </table>
    <div class="title size14 topside6"><b class="z_14">语言能力</b></div>
    <table width="680" border="0" align="center" cellpadding="4" cellspacing="2" id="yanyan">
      <tbody>
        <tr>
          <td width="100" height="32">外语语种：</td>
          <td><?=$p_row[p_lan]?></td>
          </tr>
      </tbody>
    </table>
    </div>
  </div>
</div>
<div class="onl"></div>
</div>
<?php include("../inc/foot.php"); ?>
</div>
</body>
</html>
